<?php
class Portfoliomanager_Data_Insertportfolioitemcontentvalue implements Portfoliomanager_Data_Mainable {
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "INSERT INTO portfolio_content_values(item_name, item_title, item_description, item_content, item_image) VALUES('".$variables['post']['item_name']."', '".$variables['post']['item_title']."', '".$variables['post']['item_description']."', '".$variables['post']['item_content']."', '".$variables['post']['item_image']."');";
        return $this->core_controller_dataoperation->main($variables);
    }
}
